<template>
	<view style="padding: 20rpx;">
		<view></view>
	</view>
</template>

<script>
	import {
		createProduceRepair
	} from "@/api/index"
	export default {
		data() {
			return {
				form: {},
				
			}
		},
		onReady() {
			
		},
		methods: {
			onClickItem() {

				this.form.type = '维修';
				if (this.typeCurrent == 0) {
					this.form.status = '正在审批';
				} else {
					this.form.status = '已完成';
				}


				createProduceRepair(this.form).then(response => {
					console.info('cccccccccccccc', response)
				})
			},
			
		}
	}
</script>

<style>
	.content {
		margin:0rpx 20rpx;
		border-radius: 5px;
	}
</style>